package com.starlink.model.request.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("VIP信息请求模型")
public class UserVipInfoRequest implements Serializable {
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("手机号")
    private String phoneNumber;
    @ApiModelProperty("开通时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty(value ="页码")
    private Integer pageNum;
    @ApiModelProperty(value ="分页大小")
    private Integer pageSize;
}
